package com.wclass.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.google.common.collect.Lists;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 帮助中心类型
 * </p>
 *
 * @author SEN
 * @since 2019-02-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_help_type")
public class BaseHelpType extends SuperEntity<BaseHelpType> {

    private static final long serialVersionUID = 1L;

    /**
     * 标题
     */
    private String name;

    /**
     * 归属类型
     * 1-平台导航
     * 2-学生帮助
     * 3-教师帮助
     * 4-管理条约
     */
    private Integer affiliation;

    @TableField(exist = false)
    private List<Map<String, Object>> list = Lists.newArrayList();
}
